import React from 'react'
import { Button, Form } from 'antd-mobile'
import { AuthRoute } from '../web/auth';
import send from '../apis/send';
import { getToken } from '..';

export const DevPage: React.FC<{}> = ({ }) => {
  const kwaiOpenApp = () => {
    send({
        token: getToken(),
        name: `OPEN_KWAI_APP`
    })
}
  return <AuthRoute>
    <div className='flex flex-col h-full'>
      <Button onClick={kwaiOpenApp}>打开快手</Button>
    </div>
  </AuthRoute>
}
